package com.wb.action;

import java.util.List;

import org.osm.video.Video;
import org.osm.video.VideoUtil;

import com.wb.dao.UserDao;
import com.wb.model.User;
import com.wb.sina.WpSina;

import weibo4j.model.ShortUrl;
import weibo4j.model.ShortUrlWapper;
import weibo4j.model.WeiboException;
import weibo4j.publicapi.ShortUrlUtil;

public class Main {
	public static void main(String[] args) throws WeiboException{
	try {
		Video v = VideoUtil.getVideoInfo("http://www.56.com/w98/play_album-aid-9949753_vid-NzExNjg3OTM.html");
		System.out.println(v.toString());
		System.out.println(v.getTitle());
		System.out.println(v.getThumbnail());
		System.out.println(v.getSummary());
		System.out.println(v.getTime());
		System.out.println(v.getSource());
		System.out.println(v.getPageUrl());
		System.out.println(v.getFlashUrl());
		System.out.println(v.getHtmlCode());
		
	} catch (Exception e) {
		// TODO Auto-generated catch block
		e.printStackTrace();
	}
	
	}
}
